package com.yqw.enhance;

public class Track {

	private String name;
	
	private int size;
	
	public Track() {
	}

	public Track(String name, int size) {
		this.name = name;
		this.size = size;
	}
	public String getName() {
		return name;
	}
	public String classifier() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getSize() {
		return size;
	}
	public boolean plic() {
		return size > 0;
	}

	public void setSize(int size) {
		this.size = size;
	}
	
	@Override
	public String toString() {
		return "Track [name=" + name + ", size=" + size + "]";
	}
	public void print() {
		System.out.println(toString());
	}
	
}
